package xian.woniuxy.g_jre_jdk;


import java.util.stream.Stream;

interface I {
    default void f1() {
        System.out.println("f1 ...");
    };
}

public class App {
    public static void main(String[] args) {
        Stream
                .iterate(1, x -> x + 1)
                .limit(100)
                .filter(n -> n % 2 == 0)
                .forEach(System.out::println);

    }
}
